package biz;

import java.util.List;
import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import dao.IEmployeeDao;
import entity.Employee;

@Service
public class EmployeeBiz implements IEmployeeBiz {
	@Resource
	private IEmployeeDao dao;
	public boolean addEmployee(Employee emp) {
		dao.addEmployee(emp);
		return true;
	}

	public boolean delectEmployee(int id) {
		return true;
	}

	public boolean updateEmployee(int id, String name, int age, int sex, double salary, String birthday, String detail,
			String photo, int did) {
		return true;
	}

	public List<Employee> selectEmployee() {
		return null;
	}
	
}
